package com.dantwining.jade.oo;

import jade.core.AID;
import jade.oo.core.behaviours.Outbox;

import java.io.Serializable;

public class FakeOutbox implements Outbox{

	private Serializable message;
	private AID recipient;

	@Override
	public void send(Serializable message, AID recipient) {
		this.message = message;
		this.recipient = recipient;
	}
	
	public Serializable getMessage() {
		return message;
	}

	public AID getRecipient() {
		return recipient;
	}
}
